﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Register.aspx.cs" Inherits="李晓霞web.Register" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body style="height: 648px">
    <form id="form1" runat="server">
    <div style="text-align: center; background-color: #FFFFFF; height: 684px; background-image: url('Images/标准.jpg'); width: 1366px;">
    
        <br style="text-align: center" />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        &nbsp;&nbsp;&nbsp;
        <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Italic="True" Font-Names="华文行楷" Font-Size="XX-Large" Text="请按要求填写个人信息"></asp:Label>
        <br />
        <br />
        <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Label ID="Label2" runat="server" Font-Bold="True" Font-Names="华文行楷" Font-Size="X-Large" Text="姓名："></asp:Label>
&nbsp; <asp:TextBox ID="txtUserName" runat="server" style="margin-left: 5px"></asp:TextBox>
&nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtUserName" ErrorMessage="RequiredFieldValidator" Font-Bold="True" Font-Names="华文行楷" Font-Size="Large" ForeColor="Red">用户名必填</asp:RequiredFieldValidator>
&nbsp;&nbsp;
        <br />
        <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Label ID="Label3" runat="server" Font-Bold="True" Font-Names="华文行楷" Font-Size="X-Large" Text="密码："></asp:Label>
        &nbsp;<asp:TextBox ID="txtPwd" runat="server" OnTextChanged="txtPwd_TextChanged" style="margin-left: 23px" TextMode="Password"></asp:TextBox>
        <asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="txtPwd" ErrorMessage="RangeValidator" Font-Bold="True" Font-Names="华文行楷" Font-Size="Large" ForeColor="Red" MaximumValue="999999" MinimumValue="100000" Type="Integer">不是六位数!</asp:RangeValidator>
&nbsp;&nbsp;&nbsp;&nbsp;
        <br />
        <br />
        <br />
        <br />
        <asp:Label ID="Label5" runat="server" Font-Bold="True" Font-Names="华文行楷" Font-Size="X-Large" Text="性别："></asp:Label>
        &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<asp:RadioButton ID="rdoM" runat="server" Font-Bold="True" Font-Names="华文行楷" Font-Size="X-Large" Text="男" />
        &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
        <asp:RadioButton ID="rdoF" runat="server" Font-Bold="True" Font-Names="华文行楷" Font-Size="X-Large" Text="女" />
        <br />
        <br />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Label ID="Label6" runat="server" Font-Bold="True" Font-Names="华文行楷" Font-Size="X-Large" Text="电子邮件："></asp:Label>
        <asp:TextBox ID="txtEmail" runat="server" style="margin-left: 0px" Width="126px"></asp:TextBox>
        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtEmail" ErrorMessage="RegularExpressionValidator" Font-Names="华文行楷" Font-Size="Large" ForeColor="Red" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">格式不正确!</asp:RegularExpressionValidator>
        <br />
        <br />
        <br />
        <br />
        <br />
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <asp:ScriptManager ID="ScriptManager1" runat="server">
                </asp:ScriptManager>
                <asp:Label ID="Label9" runat="server" Font-Bold="True" Font-Names="华文行楷" Font-Size="X-Large" Text="地址："></asp:Label>
                <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" Height="21px" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged" Width="134px">
                    <asp:ListItem>请选择省份</asp:ListItem>
                    <asp:ListItem>湖南省</asp:ListItem>
                    <asp:ListItem>浙江省</asp:ListItem>
                    <asp:ListItem>海南省</asp:ListItem>
                    <asp:ListItem>内蒙古自治区</asp:ListItem>
                    <asp:ListItem>安微省</asp:ListItem>
                    <asp:ListItem>台湾省</asp:ListItem>
                    <asp:ListItem>广东省</asp:ListItem>
                </asp:DropDownList>
                &nbsp;&nbsp;&nbsp;&nbsp;
                <asp:DropDownList ID="DropDownList2" runat="server" AutoPostBack="True" Height="16px" OnSelectedIndexChanged="DropDownList2_SelectedIndexChanged" style="margin-left: 0px" Width="118px">
                </asp:DropDownList>
            </ContentTemplate>
        </asp:UpdatePanel>
        <br />
        <br />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <br />
        <asp:Label ID="lblInfo" runat="server"></asp:Label>
        <br />
        <br />
        <br />
        <asp:Label ID="txtUserType" runat="server" Font-Bold="True" Font-Names="华文行楷" Font-Size="X-Large" Text="用户类型："></asp:Label>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:RadioButton ID="rdoTeacher" runat="server" Font-Bold="True" Font-Names="华文行楷" Font-Size="X-Large" Text="老师" GroupName="hh" />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:RadioButton ID="rdoStudent" runat="server" Font-Bold="True" Font-Names="华文行楷" Font-Size="X-Large" Text="学生" GroupName="hh" />
        <br />
        <br />
        <br />
        <br />
        <br />
&nbsp;<asp:Button ID="btnReturn" runat="server" BackColor="#FFFFCC" Font-Bold="True" Font-Names="华文行楷" Font-Size="X-Large" Text="返回登录界面" Width="166px" OnClick="btnReturn_Click" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="btnRegisrer" runat="server" BackColor="#FFFFCC" Font-Bold="True" Font-Names="华文行楷" Font-Size="X-Large" Text="注册" Width="64px" OnClick="btnRegisrer_Click" />
        <br />
        <br />
        <asp:Label ID="Label8" runat="server"></asp:Label>
        <br />
    
    </div>
    </form>
</body>
</html>
